typo fix in recent nmea change. Thanx, ujos!
authorRobert Lipe <robertlipe@users.noreply.github.com>
Tue, 15 Sep 2015 18:26:57 +0000 (13:26 -0500)
committerRobert Lipe <robertlipe@users.noreply.github.com>
Tue, 15 Sep 2015 18:26:57 +0000 (13:26 -0500)
nmea.cc

diff --git a/nmea.cc b/nmea.cc
index 7cc5fdc140a73b2bb8159194f756e0052e95e109..14631ebbc42b2291f00c6b20d014cac6a0994437 100644 (file)
--- a/nmea.cc
+++ b/nmea.cc
@@ -387,7 +387,7 @@ gpgll_parse(char* ibuf)
   QStringList fields = QString(ibuf).split(",", QString::KeepEmptyParts);
 
   double latdeg = 0;
-  if (fields.size() > 1) fields[1].toDouble();
+  if (fields.size() > 1) latdeg = fields[1].toDouble();
   QChar latdir = 'N';
   if (fields.size() > 2) latdir = fields[2][0];
   double lngdeg = 0;